home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Games / SprocketInvaders / Source / ObjectActions.h < prev    next >
Encoding:
Text File  |  2000-09-28  |  2.5 KB  |  84 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ObjectActions.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Version:    xxx put version here xxx
  7.  
  8.     Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     File Ownership:
  11.  
  12.         DRI:                xxx put dri here xxx
  13.  
  14.         Other Contact:        xxx put other contact here xxx
  15.  
  16.         Technology:            xxx put technology here xxx
  17.  
  18.     Writers:
  19.  
  20.         (cjd)    Chris DeSalvo
  21.  
  22.     Change History (most recent first):
  23.  
  24.          <4>      7/1/98    cjd        Cleaned up
  25. */
  26.  
  27. //•    ------------------------------------------------------------------------------------------    •
  28. //•
  29. //•    Copyright © 1996 Apple Computer, Inc., All Rights Reserved
  30. //•
  31. //•
  32. //•        You may incorporate this sample code into your applications without
  33. //•        restriction, though the sample code has been provided "AS IS" and the
  34. //•        responsibility for its operation is 100% yours.  However, what you are
  35. //•        not permitted to do is to redistribute the source as "DSC Sample Code"
  36. //•        after having made changes. If you're going to re-distribute the source,
  37. //•        we require that you make it clear in the source that the code was
  38. //•        descended from Apple Sample Code, but that you've made changes.
  39. //•
  40. //•        Authors:
  41. //•            Chris De Salvo
  42. //•
  43. //•    ------------------------------------------------------------------------------------------    •
  44.  
  45. #ifndef __OBJECTACTIONS__
  46. #define __OBJECTACTIONS__
  47.  
  48. //•    ------------------------------    Includes
  49.  
  50. #include "GameObject.h"
  51.  
  52. //•    ------------------------------    Public Definitions
  53.  
  54. #define kPlayerDeathDelay            120L    //•    This controls how long a player is frozen after dying
  55.  
  56. //•    ------------------------------    Public Types
  57. //•    ------------------------------    Public Variables
  58. //•    ------------------------------    Public Functions
  59.  
  60. #ifdef __cplusplus
  61. extern "C" {
  62. #endif
  63.  
  64. extern void ObjectIdle(GameObjectPtr theObject);
  65. extern void ObjectBounce(GameObjectPtr theObject);
  66. extern void GreenPlayerAction(GameObjectPtr theObject);
  67. extern void RedPlayerAction(GameObjectPtr theObject);
  68. extern void PlayerShotAction(GameObjectPtr theObject);
  69. extern void PlayerShotAction(GameObjectPtr theObject);
  70. extern void PlayerShotDestroy(GameObjectPtr theObject);
  71. extern void EnemyDestroy(GameObjectPtr theObject);
  72. extern void PointsDestroy(GameObjectPtr theObject);
  73. extern void PointsAction(GameObjectPtr theObject);
  74. extern void EnemyAction(GameObjectPtr theObject);
  75. extern void EnemyShotAction(GameObjectPtr theObject);
  76. extern void EnemyShotDestroy(GameObjectPtr theObject);
  77. extern void PlayerDestroy(GameObjectPtr theObject);
  78. extern void ParticleAction(GameObjectPtr theObject);
  79.  
  80. #ifdef __cplusplus
  81. }
  82. #endif
  83.  
  84. #endif